package com.example.demo.serivce.impl;
import com.example.demo.bean.Student;
import com.example.demo.dao.IStudentDao;
import com.example.demo.serivce.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private IStudentDao iStudentDao;

    @Override
    public List<Student> selectStudent(Map<String,Object> map) {
        return iStudentDao.select(map);
    }
}
